package com.xy.core.init.mysql;

/**
 * Created by 汤伟杰 on 2017/5/3.
 */
public class ColumnClass {
    /** 数据库名 */
    private String name;
    /** 字段名 */
    private String properties;
    /** 字段名首字母大写 */
    private String propertiesUp;
    /** 数据库字段类型 */
    private String type;
    /** 类字段类型 java.lang.String*/
    private String classtype;
    /** 类字段类型简写 String*/
    private String classtypeSimple;
    /** 是否唯一 */
    private boolean unique;
    /** 可为空 */
    private boolean nullable;
    /** 长度 */
    private Integer length;
    /** 精度 */
    private Integer precision = 0;
    /** 默认值 */
    private String defalt;
    /** 描述 */
    private String describe;
    /** 页面输入框类型(text,int,file,date,switch,select,hidden) */
    private String inputType;
    /** inputType 分类
     * switch yesorno onoroff
     * select approvestatus int str
     * */
    private String inputCode;

    public String getPropertiesUp() {
        return propertiesUp;
    }

    public void setPropertiesUp(String propertiesUp) {
        this.propertiesUp = propertiesUp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isUnique() {
        return unique;
    }

    public void setUnique(boolean unique) {
        this.unique = unique;
    }

    public boolean isNullable() {
        return nullable;
    }

    public void setNullable(boolean nullable) {
        this.nullable = nullable;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getPrecision() {
        return precision;
    }

    public void setPrecision(Integer precision) {
        this.precision = precision;
    }



    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    public String getClasstype() {
        return classtype;
    }

    public void setClasstype(String classtype) {
        this.classtype = classtype;
    }

    public String getInputType() {
        return inputType;
    }

    public void setInputType(String inputType) {
        this.inputType = inputType;
    }

    public String getInputCode() {
        return inputCode;
    }

    public void setInputCode(String inputCode) {
        this.inputCode = inputCode;
    }

    public String getClasstypeSimple() {
        return classtypeSimple;
    }

    public void setClasstypeSimple(String classtypeSimple) {
        this.classtypeSimple = classtypeSimple;
    }

    public String getDefalt() {
        return defalt;
    }

    public void setDefalt(String defalt) {
        this.defalt = defalt;
    }
}
